import React from 'react';
import { HR_MANAGE_LIST, HrMoudle } from '../Hr'
import { connect } from 'react-redux'
import { bindActionCreators } from 'redux'
import * as hrAction from '../../../actions/onboarding.hr.action'
import * as staffAction from '../../../actions/onboarding.staff.action'
import * as fileAction from '../../../actions/file.action'
import { fetchTeamData } from '../../../actions/team.action'
import { fetchProfileTemplateFields } from '../../../actions/system.action'
import { clearAtList, fetchAtList } from '../../../actions/home.action'
import { updateAvatar, fetchAddresses } from '../../../actions/app.action'
import { resetPassword } from '../../../actions/auth.action'

export default connect(null, dispatch => ({actions: bindActionCreators({...staffAction, ...hrAction, ...fileAction, fetchAddresses, updateAvatar, fetchTeamData, fetchProfileTemplateFields, fetchAtList, clearAtList, resetPassword }, dispatch)}))(HrMoudle(HR_MANAGE_LIST.slice(1)));

